
  <notempty name="self">
  <div id="login_mod" class="menu_mod" style="height:auto;">
    <div class="section clearfix" style="">
      <a href="{:NoticeUrl::getAccount($self)}" style="cursor:pointer;">
      <img src="{:NoticeUrl::getPhoto($self['uid'])}" class="photo"/>
      </a>
      <div style="margin-left:80px;">
        <a href="{:NoticeUrl::getAccount($self)}" style="cursor:pointer;">
          {$self.name}
        </a>
        <p class="signature">{$self.signature}</p>
      </div>
    </div>
    <hr />
    <div class="section">
      <a id="create_event" href="{:U('/event/create')}">+ 发布新活动</a>
    </div>
  </div>
  
  <else/>
  <div id = "logbar">
  </div>
  <div id = "logcontent" class = "undertitle">
      <form id = "login" action="{:U('/account/login')}" method="post">
          <div class = "inputdiv">
          <label class = "label">用户名</label>
          <input name="username" type = "text" class = "input" id = "username"/><br/>
          </div>
          <div class = "inputdiv">
              <label class = "label">密码</label>
              <input name="password" type = "password" class = "input" id = "password"/>
          </div>
          <input type="submit" name="submit" id = "denglu" value=""/>
          
      </form>
	  <form>
	  	  <a href="{:U('account/register')}">
		<input type="submit" id="zhuce" value=""/>
		</a>
	  </form>

      
  </div>
  </notempty>